Skip to main content

Posts

Showing posts with the label OOPS

A Glimpse of the future in the C#, What's New in C# 8.0 Features?

Today, I happy to share the some selected and important feature proposals for C# 8.0 which are introduce in the below - ü   Extension Everything ü   Default Implementation on Interfaces ü   Nullable Reference Types ü   Preventing Assignment from Nullable to Non-Nullable Some Are Proposed Features will available on future - ü   Default interface methods ü   Support for virtual extension methods ü   Overrides in interfaces ü   Reabstraction ü   Static and private methods ü   Base interface invocations ü   CLR support API ü   Abstract Override These all are available in the Future Release. ü   Stayed Informed - Object Oriented Programming Concepts (OOPs) Extension Everything - I hope you are familiar with an extension method which was introduced in C# 3.0. Extension method is a static method to the existing static class. Extension methods enable you to add methods to the existing ...

Groovy Interview Questions and Answers

What Is Groovy? Groovy is fully object oriented programming language for JVM - Java Virtual Machines and used to combine Java modules, to write Java application and to extend existing Java application. Groovy is a powerful high level language for the Java platform which compiles down to Java byte-code. Groovy is Java syntax compatible and is from Apache family of software. Why You Use Groovy? Groovy has a rich stock of Java Libraries and easily integrate with your existing infrastructure like – 1.       Servlet Containers 2.       App Servers 3.       Loads of databases with JDBC drivers 4.       Completely Object Oriented Groovy can be used both as a programming language and as a scripting language. It has efficient object navigation, Literal declaration for maps, arrays, ranges and regular expressions, and Operators can be overloaded. What are the Depend...

Object Oriented Programming Concepts (OOPs)

Basic OOPs Concepts Delegates Events Generics Indexers Out keyword Ref keyword Property Struct Arrays Collection of Classes Class Library Virtual | Override | new Keyword Objects|Classes Abstraction Encapsulation Inheritance Constructors Concept Private Constructor Parameterized Constructor Constant, read-only and static Keywords Base class Parameterized Constructor We have two classes, one is ClassA and other is ClassB, the ClassB inherit base class ClassA. If we make the object of child class ClassB then which class constructor called first? We know that Base class constructor called first. But if we creating object with parameters, and base class have both constructor default and parameter, then which constructor of base class called first. Basic C# Concepts What are ASP.NET Delegates, Types and Examples? What are funk, ...