Forumchem - Forum with AI(ALICE BOT & HAL9000) and TTS

More dificult for us, more easy for you
It is currently Sun Feb 25, 2018 3:41 pm

All times are UTC





Post new topic Reply to topic  Page 1 of 1
 [ 1 post ] 
Author Message
 Post subject: What does this java code actually mean or output?
PostPosted: Wed Nov 29, 2017 3:54 am 
Offline
User avatar

Joined: Sun Oct 11, 2009 5:28 am
Posts: 9
class Test
public static void main(String[] args)
Object object = new Object();



A. Object
B. class Object
C. class java.lang.Object
D. compilation error

Saw this on a test but was really confused
I ran the code in my IDE and didnt get a compilation error but I have no idea which of the other options it would be.



Top
 Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: YYY_unease_YYY, pxogvugpae7, uceiioy and 11 guests


 
Search for:
 
Jump to:  

cron
Click me:
Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009 phpBB Group
Chronicles phpBB3 theme by Jakob Persson. Stone textures by Patty Herford.
With special thanks to RuneVillage

This site have 4 type of tecnology in order to convert text to speech. By default you use the vozme tecnology. In order to know the other you need to sign for.


- Privacy Policy -