what is the main class of all the classes

Answer Posted / vinodh kumar

java.lang.Object.
Because all java classes are inherited from this class.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread

482


Does java have extension methods?

519


How can we make sure main() is the last thread to finish in java program?

662


Can we nested try statements in java?

618


How to display all the prime numbers between 1 and 100

496






What is prefix of a string?

563


What is empty list in java?

614


What is local variable and instance variable?

600


Is there a jre for java 11?

548


Is intellij better than eclipse?

533


Explain yield() method in thread class ?

612


What is a parameter used for?

507


Is overriding possible in java?

498


What are the steps that are followed when two computers connect through tcp?

513


What is the difference in between cpp and java? Can u explain in detail?

598