1).Is Object class abstract or not?
2).Is main method(public static void main(String args[])low
priority thread or high priority thread?

Answers were Sorted based on User's Feedback



1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low p..

Answer / p.sreekiran

Object is a class not an abstract class
main method is heigh priority thread

Is This Answer Correct ?    12 Yes 2 No

1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low p..

Answer / s.ramesh

1. Object class is not abstract

2. main method (public static void main(String args[])is
Mormal Priority thread until we set priority..

normally it priority value is 5

Is This Answer Correct ?    9 Yes 1 No

1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low p..

Answer / harinath.b (sai sudhir p.g co

1) Object class is not an abstract class.The default
implementation is provided by javasoft.If we want we can
override the methods of Object class.
Ex class Top extends Object{
public String toString()
{
return "Java is ruling the WEB";
}
}

2)main() method is having the normal priority.To see how
it is :

class MainPriority{
public static void main(String main[]){
System.out.println("Main priority is
:"+Thread.currentThread().getPriority());
}
}

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Core Java Interview Questions

Is java developer a good career?

0 Answers  


What are disadvantages of java?

0 Answers  


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

0 Answers  


What is static binding and where it occurs?

4 Answers  


Why should I use abstract class?

0 Answers  


Can we override the main method?

4 Answers  


What is a functional interface?

0 Answers  


different between exception and error? explaim check and uncheck exception

4 Answers  


What is meant by 'bit masking' in java?

0 Answers   DELL,


What does nullpointerexception mean?

0 Answers  


how can you take care of mutual exclusion using java threads? : Java thread

0 Answers  


What variables are stored in stack?

0 Answers  


Categories