Define a java class.



Define a java class...

Answer / hrindows@gmail.com

A class in Java is a blueprint that includes all your data. A class contains fields (variables) and methods to describe the behavior of an object. Let’s have a look at the syntax of a class.
class Abc {
member variables // class body
methods}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are new features introduced with java 8 ?

0 Answers  


Describe OOP in java?

2 Answers   Syntel,


What's the purpose of static methods and static variables?

0 Answers  


How variables are stored in memory?

0 Answers  


if we give input as " hi how are you" then the output should be "uoy woh"...it should skip odd words in the input and should reverse even words from the end of string...can anyone help me to write this program in java

1 Answers  






What is the full name of java?

0 Answers  


Write a program to solve producer consumer problem in java?

0 Answers  


What is starvation?

0 Answers  


what is unreachable code problem in multiple catch statements

3 Answers  


What is compile time polymorphism?

20 Answers   CTS, Elementus Technologies, Oracle,


What is singleton class example?

0 Answers  


what is the volatile modifier for? : Java thread

0 Answers  


Categories