Part 9 | Abstract Class, Exceptions, Threads | Java Programming Malayalam Tutorial

Part 9 | Abstract Class, Exceptions, Threads | Java Programming Malayalam Tutorial

Brototype Malayalam

5 лет назад

232,568 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@anmarashraf3729
@anmarashraf3729 - 15.05.2023 19:28

No need of thorough understanding
But need to know this kind things are there
Do self learning also in google


After 1 or two projects you will get familiar with all features

Ответить
@MrCV23
@MrCV23 - 18.05.2023 07:52

Best accomplished

Ответить
@geess_____.
@geess_____. - 26.05.2023 09:40

sir nan vs codil java program run cheyumbol error canni kunu but ath nandebug cheyumbol work aakunu

Ответить
@kirancthomas2042
@kirancthomas2042 - 27.05.2023 21:07

INTERFACE

class no:1

public interface Hello {

void display(String text);


}



---------------------------------------------------------------------------------------------



class no:2

public class TextScanner {

Hello obj;

TextScanner(Hello obj){

this.obj=obj;

}

void Scan() {

//api code//


String text="interface program";
obj.display(text);
}

}



----------------------------------------------------------------------------------------------

class no:3(MAIN)


class Sample implements Hello {

public void display(String text) {

System.out.println(text);

}

Sample(){

TextScanner ts=new TextScanner(this);
ts.Scan();


}

public static void main(String[] args) {

Sample s=new Sample();

}




}



-----------------THE END--------------

Ответить
@althaf1995
@althaf1995 - 04.06.2023 16:01

interface Class
public interface hello {
public void onText();
public void message();
}

2nd class
public class textScanner implements hello {
public void onText() {
System.out.println("this is onText sample");
}
public void message() {
System.out.println("this is anothere message");
}
}

mainClass

public class mainClass {
public static void main(String[] args) {

//create object for textScanner
textScanner ts=new textScanner();


//using intrerface method
ts.message();
ts.onText();
}
}

Ответить
@Nacguys
@Nacguys - 08.06.2023 15:14

in abstraction , abstract classnu obj undakkan pattilla enn paranj then how Hello obj; in textscanner

Ответить
@amal_johnson
@amal_johnson - 08.06.2023 18:56

(B a)
a.display();


Aano varua

Ответить
@soumyasivaraman5971
@soumyasivaraman5971 - 06.07.2023 10:28

Poli class🎉

Ответить
@anandhukrishnan5596
@anandhukrishnan5596 - 07.07.2023 17:30

Ith angot manasilavunilallo please ithonn clear cheyth tharamo @brototype

Ответить
@wakeup_sid_018
@wakeup_sid_018 - 11.07.2023 13:11

I don't understand abstract can you explain in a more simpler way 😁

Ответить
@amalshanth8921
@amalshanth8921 - 21.07.2023 21:35

Interface explain cheyunna video cheyyamo

Ответить
@naseemakareem
@naseemakareem - 27.07.2023 10:51

Hello obj; enthaannn??? Abstract clasnn object create cheyyaan patillalooo

Ответить
@AfnaSafari
@AfnaSafari - 02.08.2023 08:16

superb

Ответить
@alxnn7
@alxnn7 - 21.08.2023 12:39

SIR SHORT VIDEOS SENT CHEYYAVO

Ответить
@hajarsuresh6667
@hajarsuresh6667 - 21.08.2023 14:12

Constructirinu mump public koduthath enthina

Ответить
@safwansalim5652
@safwansalim5652 - 31.08.2023 13:15

Abstract class manassilakathavarkk.... Kurachu perude doubts kandu, Abstract class aaya Hello kk object indakkan kazhiyillaaloo.... Pinnenganeyaa TextScanner enna classil Hello obj; cheythathu ennu.
 Enikk manassil aayathu parayaam. Abstract classinu object indakkan kazhiyilla. But object declare chyyan kazhiyum. Ath initialize cheyyan kazhiyilla. Eg:- Hello oru abstract class aahnenkil Hello obj; ingane object declare cheyyaam. But Hello obj = new Hello(); ingane initialize cheyyumbol error varum. Ivide namukk hello il ninn oru abstract methodilekk value assign cheyyenda aavishyam indu. Normally nokkumbol ath possible alla. But, athine inherite cheytha classil ninnum call cheyyan saadhikkum. Athinu, Main (Sample) classil ninnum TextScanner enna classinu object create cheyyumbol athinte constructorilekk Main classinte object (this) pass cheyyunnund. Appol TextScanner enna classil athinte constructor codeil nerathe Hello yude object declare cheyth vechillee... Athilekk ee Main classinte object assign cheyyunnu. Aadyam Hello obj; ingne veruthe declare cheythu vechu. Athinu shesham constructor codeil athilekk kittunna objectine declare cheytha objectilekk assign cheythu. this.obj=obj; ithil 'this.obj' nerathee declare cheytha global object aanu. Athilekk constructorilekk varunna object ne assign cheyyunnathaanu = obj;

Manassilaayo😊

Ith enthinanu cheyyunnath enn vechaal, TextScanner enna classil ninnum direct aayitt Hello yude classile method neyoo variablesneyoo call cheyyaano values assign cheyyaano kazhiyilla. Appol athine inherite cheytha classil ninnum avaye call cheyyanum values assign cheyyanum kazhiyum. Kaaranam Hello classinte oru copy inherite cheytha classileko varum. Athinaanu Main classil Hello ne inherite cheythitt Main classinte objectine TextScanner classilekk pass cheythath.

Ответить
@safwansalim5652
@safwansalim5652 - 31.08.2023 13:28

Main classil constructor ne create cheyyathe thanne Main classinte object TectScanner lekku pass cheyyan kazhiyum. Athinu main method nte ullil thanne Main classinte object create cheythitt ath pass cheythal mathi. Eg:-

Main mainObj = new Main();
TextScanner ts = new TextScanner(mainObj);

Ingane cheyyumbol Main classinte object pass cheyyeem cheyyam, error um indavula, code um run aavum.

Sample file :- (Main class)

public class Main extends BaseClass
{

public static void main(String ar[])
{
Main mainObj = new Main();
TextScanner ts = new TextScanner(mainObj);
ts.scan();
}

@Override
void onText(String text)
{
System.out.println(text);
}
}


(BaseClass - abstract class aanu)
Enthelum mistake/error indenkil parayaneee 😁😅

Ответить
@vinayakvishnu8953
@vinayakvishnu8953 - 31.08.2023 15:39

Thank you sir

Ответить
@khaleelrahman7747
@khaleelrahman7747 - 05.09.2023 15:05

sir interface video upload cheyyuvoo.....

Ответить
@prajithar6174
@prajithar6174 - 07.09.2023 16:41

I watched that abstraction portion 3 times then i just got it.. 🔥i feel very very happy... Thankue from my heart sir ❣️

Ответить
@vinayakvishnu8953
@vinayakvishnu8953 - 08.09.2023 10:05

🎉

Ответить
@Arjun-eq5mr
@Arjun-eq5mr - 14.09.2023 09:51

could you convey more details about abstraction?

Ответить
@shaamms.n
@shaamms.n - 17.10.2023 17:29

Watnted abstraction vedio

Ответить
@azarudeen2940
@azarudeen2940 - 20.10.2023 14:07

Sir Abstract class onnum koodi cheyyan pattuo?

Ответить
@vipinkumark4476
@vipinkumark4476 - 21.10.2023 17:16

Sir orupaad kalaam ayi ee channelinety oro videoikuk vannu coment chetiney.. Please make a videos for testers also.. Automation testers also equal to a dev nowdays please consider and make. Videos for testers🥹🥹🥹

Ответить
@aswindaspv
@aswindaspv - 28.10.2023 18:31

Interface Program


public interface Hello {

public void onText(String text);
}





public class TextScanner {

Hello obj;

public TextScanner(Hello obj) {
this.obj=obj;
}
void Scan() {

String text="Scanned Text";

obj.onText(text);
}
}





public class Sample implements Hello {

public void onText(String text) {
System.out.println(text);
}

Sample(){
TextScanner ts=new TextScanner(this);
ts.Scan();

}

public static void main(String[] args) {
Sample s=new Sample();
}
}

Ответить
@Think_a_lil_bit_more
@Think_a_lil_bit_more - 11.11.2023 08:52

Sample classil Hello class nte object create cheyyumbol enthaan
*Hello obj=new Hello (); *
enn kodukkathath??abstract ayathukondanoo verum
*Hello obj; *
enn koduthath?

Ответить
@rishad8232
@rishad8232 - 14.11.2023 03:46

Can anyone tell me why i can't use public class

Ответить
@mohamedfarismp347
@mohamedfarismp347 - 01.12.2023 18:30

abstract manassilavaan 3 times kanannam

Ответить
@vidyalathavidyadharan4479
@vidyalathavidyadharan4479 - 31.12.2023 08:36

Thank you sir

Ответить
@vidyalathavidyadharan4479
@vidyalathavidyadharan4479 - 20.01.2024 21:34

Super

Ответить
@manjub.s9364
@manjub.s9364 - 25.01.2024 23:18

Sample () cinstructor crete chyth main method il obj um create chyth but sample il testscanner ts= new testscanner(this) pass chytel error kanikunn. main il angine chyan pattilla enn paranjallo. So sample constr vach chytapozhum error varunn.athenth angine onn paranj taramo

Ответить
@jithuplike3733
@jithuplike3733 - 02.02.2024 10:23

INTERFACE
public interface S {



public void show();
}




public interface A {

public void cross();
}


public class Showable implements S, A {

public void show() {
System.out.println("twinkle");
}




public void cross() {
System.out.println("star");
}




public static void main(String[] args) {
// TODO Auto-generated method stub

Showable obj=new Showable();

obj.show();
obj.cross();
}

}

Ответить
@Dhdhstduxrzcu-os7df
@Dhdhstduxrzcu-os7df - 10.03.2024 18:22

Thank u adhayam kettaram sir enthallan paryunne vijarchu 2,3 pravishyam kandappoll manasilayi nth detail aayi sir karyam paryunnath enn

Ответить
@Ameen_binSalam
@Ameen_binSalam - 31.03.2024 00:46

Interface

interface class:

public interface Hello {
abstract void onText(String text);
}


Definition Class:

public class TextScanner {
Hello obj;
public TextScanner(Hello obj){
this.obj=obj;
}
void scan(){
String text="Scanned Text":
obj.onText(text);
}


}

Implements Class/ Subclass:

public Sample implements Hello(){

abstract void onText(String text)
System.out.println(text);

public Sample(){

TextScanner ts=new TextScanner(this){
ts.scan();
}
public static void main(String ar[]){
Sample s=new Sample();
}

Ответить
@MAJORYTC
@MAJORYTC - 07.05.2024 10:18

Sir abtrct class onnum manasilaakunnilla saprate video venam😥 plese

Ответить
@AZ_GAMINGPS
@AZ_GAMINGPS - 10.05.2024 07:32

sososososoososo sisisiisisisisisiissiissmpleeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Ответить
@muhammedmujithab4670
@muhammedmujithab4670 - 23.06.2024 19:22

Abstract il textscanner Enna classil hello obj; enn call cheyun und Ath mannasalayilla karnnam Hello oru abstract class alley (hello obj; Hello Enna classnne object calling ano)

Ответить
@sandeepkumar-pt4il
@sandeepkumar-pt4il - 28.06.2024 10:15

Ninth Video Completed ✅

Ответить
@wearepro-e1q
@wearepro-e1q - 03.07.2024 11:49

abstraction is gonna be really hard guys:(

Ответить
@muhammedsahal9040
@muhammedsahal9040 - 12.07.2024 12:07

Exception enthuvaa dont get idea🥲

Ответить
@chitraarun9791
@chitraarun9791 - 14.08.2024 20:20

Hi Sir,

I came to know about this channel recently… Great classes and i am an aspirant thoroughly following and started to learn from your online classes


Could you please make another video on abstract class…

Thanks

Ответить
@navaneethkrishna9828
@navaneethkrishna9828 - 17.09.2024 15:47

string or character userntennu input akanum padipikarnnu

Ответить
@fathima9809
@fathima9809 - 07.11.2024 19:30

abstract concept ithre nannayit vere video il kanditilla❤💥

Ответить
@flea2play
@flea2play - 25.11.2024 17:46

public interface Restricted {

public void ontext(String name);
public void scantext();
}

public class TextScanner {
Restricted obj;

TextScanner(Restricted obj){
this.obj=obj;
}
public void call_interface(String name) {
obj.ontext(name);
obj.scantext();
}
}

public class Main implements Restricted{

String name;

Main(String name){
this.name=name;
TextScanner txtscn=new TextScanner(this);
txtscn.call_interface(name);

}


public static void main(String[] args) {
Main mn=new Main("The names");
}

public void ontext() {
System.out.println("The text contains " + name);

}public void scantext() {
System.out.println("The Text has been scanned successfully !!");
}
}

Ответить
@avathaalam
@avathaalam - 28.08.2020 05:38

Abstract manasilathavar ath 2 ,3 thavana kandaal mathi..Koode ath cheyth koodi nokkiyaal crct aayi manasilavum..Enikum ith aadhyam onnum manasilayilla njan 3 thavana kandathinu shesham aanu enik manasilaayath

Ответить