Please check below video for Cloud Computing kzbin.info/www/bejne/qIWkqKaXYsxpocksi=o1b8LKWUi9K9c8xW
@sharoonmurthy227111 ай бұрын
@@PayilagamChennai rombha thanks sir cloud computing videova share pannadhuku unga video paathaadu enaku cloud computing subject mulsa cleara puriyudhunu nenekkre sir.
@mathankumar28823 жыл бұрын
Sir angular beginners ku oru vedio podunga sir unga vedio matum tha comfortable ah iruku
@gokulnath63733 жыл бұрын
Rombha thankss sir 👍🏼 👍🏼👍🏼👍🏼
@arunsekar63413 жыл бұрын
Very good explanation sir 🥰😍
@vkeducationk2 жыл бұрын
Thank you so much sir
@balajip53083 ай бұрын
Sir java Singleton and volatile Explain video podunga
@RashwathJ-oi7zn Жыл бұрын
Thank you sir
@manikandanm55673 жыл бұрын
Well explained
@RamyaRamya-og6ib3 жыл бұрын
Super sir
@anbarasutneb21192 жыл бұрын
Super
@78vijayk373 жыл бұрын
Sir stream topic podunga sir
@serantech6 ай бұрын
Sir some hide la irukku antha video access venum
@sanjayprabhum9073 жыл бұрын
Advanced java videos upload pannunga!!!!
@amalayakin44113 жыл бұрын
Nested class and inner class both of same ah sir
@PayilagamChennai3 жыл бұрын
Yes
@arunsekar63413 жыл бұрын
Sir enum create pannitu, 5 constants define panniten , then default constructor create pannitu adhukula syso("Test") nu potta, it displays Test as 5 times when I just call 1 cnstats with its enum class. public class HandleLocators { enum Locator{ ID, NAME, CLASSNAME, LINKTEXT(4), PARTIALLINKTEXT, TAGNAME, CSSSELECTOR, XPATH; int a; Locator(int a){ System.out.println("parameter Constructor"); this.a=a; } Locator(){ System.out.println("Default Constructor"); } } public static void main(String[] args) { // TODO Auto-generated method stub HandleLocators obj1 = new HandleLocators(); obj1.clickElement("", Locator.LINKTEXT); } public void clickElement(String elementValue, Locator locatorType){ switch(locatorType){ case ID: System.out.println("This is ID"); break; case NAME: System.out.println("This is NAME"); break; case CLASSNAME: System.out.println("This is CLASSNAME"); break; case LINKTEXT: System.out.println("This is LINKTEXT"); break; case PARTIALLINKTEXT: System.out.println("This is PARTIALLINKTEXT"); break; case TAGNAME: System.out.println("This is TAGNAME"); break; case CSSSELECTOR: System.out.println("This is CSSSELECTOR"); break; case XPATH: System.out.println("This is XPATH"); break; } } } Output: Default Constructor Default Constructor Default Constructor parameter Constructor Default Constructor Default Constructor Default Constructor Default Constructor This is LINKTEXT How am I getting this output? Why its calling the constructor 8 times when I called the enum constants only once. Please give me your reply.. I understand it but I am confused due to this behaviour.
@saieswariamaran90032 жыл бұрын
To my understanding, your 'enum' constructor is called 8 times (7 times default and 1 time parameterized) because, u have 8 enum objects (ID,NAME,CLASSNAME,LINKTEXT(4),PARTIALLINKTEXT,CSSSELECTOR,TAGNAME,XPATH). The first time you call for an enum object ,here in your case this line ---> [ obj1.clickElement("",Locator.LINKTEXT) ], all objects gets initialized/assigned. (Here your are accessing the LINKTEXT object from the enum Locator). To try this, try to access a second enum object and see, you will not get the constructor messages again. Also, you did not provide a default constructor for 'HandleLocators' class, hence while creating the object obj1 in this line --> [ HandleLocators obj1 = new HandleLocators(); ], the compiler will provide one.