Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Classes n objects  RSS feed

 
Yashaswini D.P
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm a beginner n wanted to know d ans for these Q's.
1.What is basis 4 d existence of classes n objects n what r their applications?
2.Why shud instance variables b initialised or altered thru methods n not directly?
3.What is the use of access specifiers?
4.What r d applications of static variables and inner classes?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, I get it -- this is like an acrostic puzzle. My solution:

n -> and
4 -> for
d -> the (this one was hard!)
shud -> should
r -> are
b -> be

For more information about puzzles like these, see here.

In any case, seriously, these sound like homework questions. Why don't you tell us your answers, and we can help you with some advice if necessary.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Ernest is pointing out in his tounge-in-cheek style, we would appreciate it if you will take the time to type in correct English. Even for native speakers, these kinds of abbreviations can be confusing. And this forum has a LOT of members that do not speak English as their first language.

With that said, why don't you describe the answers to these questions in these own words. We can then have a meaningful conversation about these ideas from there.

Layne
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!