Results 1 to 2 of 2
- 08-01-2012, 08:52 AM #1
Member
- Join Date
- Jul 2012
- Posts
- 6
- Rep Power
- 0
Java - Object Variable Type Disambiguation
I'm finally starting to get a hold on OOP. My question is that if I have code like OOPTest t = new OOPTest(); is this a valid use of the object type? Will the object type always be the same name as the class constructor method? What determines what the Object type needs to be?
- 08-01-2012, 09:51 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,471
- Rep Power
- 16
Similar Threads
-
Any chance of getting original type of object from Map<String, Object>?
By Tim99 in forum New To JavaReplies: 1Last Post: 01-09-2012, 04:46 PM -
Accessing an object from within another object from the same type in Java
By mhasgari in forum Threads and SynchronizationReplies: 5Last Post: 06-20-2011, 04:21 PM -
Assigning null to Complex Type object in the context of memory in java
By sagngh8 in forum Advanced JavaReplies: 2Last Post: 06-01-2011, 09:44 AM -
using instanceof to get Object type and parent type?
By xcallmejudasx in forum New To JavaReplies: 2Last Post: 11-06-2008, 06:24 PM -
Creating object of Type Object class
By venkatv in forum New To JavaReplies: 3Last Post: 07-17-2007, 03:33 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks