Aniket Vishwakarmaanivish.hashnode.dev·Feb 17, 2024Java : could not find or load main class error in vs code while running a file inside packageMaking Packages in Java The package in java is used to group related classes , In other IDE's like IntelliJ Idea and Eclipse , they have build in environment for java development not as the VS code. How to make package in VS Code ? You just need to m...DiscussJava
Basil Ajithundefined.pyfy.ch·Jan 16, 2024I Don't Get Java, C#, Or Any Other Class-Based Programming LanguagesThis is just a rant. I personally don't like class-based programming languages. I simply don't enjoy using them for anything. I think the maintainers of Java, and of C# have understood this and they are making minor tweaks to this to make simple thin...Discussclass-based-programming
Ramachandra Anirudh Vemulapallinetworknomad.hashnode.dev·Jan 6, 2024Behind the Code: Unmasking the Power of Java ObjectsImagine a world where lines of code no longer stand alone, but dance hand-in-hand with data, forming self-container entities called objects. These Java objects breathe life into your programs, each a miniature universe with its own secrets and powers...DiscussJava
Prajjwal Pratap Singhprajjwaltechblog.hashnode.dev·Dec 6, 2023Exploring the Core of Java: A Comprehensive Guide ( PART - 2)Java OOPs Concept Object-Oriented Programming is a paradigm that provides many concepts, such as class object Inheritance polymorphism Encapsulation Abstraction Class A class is a user-defined blueprint or prototype from which objects are cre...DiscussCore JavaOOPS
yarnmiyarnmi.hashnode.dev·Oct 29, 2023what is static members in class?static members 용도 static 변수들은 클래스의 instance가 아니라 클래스에 속하게 된다. 따라서 인스턴스 생성과 관련이 없고, 클래스 이름으로 접근해야 한다. static 멤버들은 클래스의 모든 인스턴스 사이에서 공유된다. 코드 예시 class Person { firstName: string; lastName: string; age: number; constructor(firstName: strin...Discussclass
Ronil Rodriguesronilrodrigues.hashnode.dev·Oct 8, 2023Hierarchy of Interface, Abstract Class, and their Subordinate Class ObjectsInterfaces and abstract classes are fundamental concepts in object-oriented programming (OOP) that enable the creation of flexible, extensible, and modular code. Understanding the hierarchy of these constructs is crucial for designing robust software...Discussinterface
Nilesh Ggetsmartwebsite.hashnode.dev·Jul 1, 2023The Hidden Secret of JavaScript Classes - Ditching the `class` Keyword!JavaScript classes have been widely used since they were introduced in ES6. They provide a cleaner and more concise way to generate object constructors. However, did you know that you can create and use JavaScript classes without even using the class...Discuss·45 readsJavaScript
Levai Ágbàràlevai.hashnode.dev·Jun 19, 2023Understanding Classes in JavaScriptIn JavaScript, classes are a way to define a template from which you can create objects that have similar property values as that class; and also define methods that can be applied to those objects. Its main purpose is to promote code reusability. In...Discuss·23 likes·110 readsJavaScript
Sanjay Thotaeragon.hashnode.dev·May 24, 2023Object Oriented ProgrammingThis article is about understanding Object Oriented Programming concepts in a very simplified version. Before going through all the technical definitions and syntaxes. let's try to understand through it our daily life situations. At the age of 25 - 3...Discuss·2 likes·57 readsObject Oriented Programming
Shivam Maggublog.shivammaggu.com·Feb 26, 2023Understanding SwiftUI - Why are Views in SwiftUI Struct and not Class?Why SwiftUI prefers Struct over Class? SwiftUI Views are structs instead of classes. This avoids having multiple inherited properties, keeps them lightweight and improves performance. SwiftUI Views are passed by value. This avoids retain cycles and...Discuss·738 readsUnderstanding SwiftUISwift