DEV Community

Paul Ngugi profile picture

Paul Ngugi

Programming is understanding. ~Kristen Nyaard.

Location Nairobi, Kenya Joined Joined on  github website

Education

BSc in Computer Science

Class Design Guidelines

Class Design Guidelines

2
Comments 1
5 min read

Want to connect with Paul Ngugi?

Create an account to connect with Paul Ngugi. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Case Study: The Rational Class

Case Study: The Rational Class

Comments
6 min read
Interfaces vs. Abstract Classes

Interfaces vs. Abstract Classes

Comments
3 min read
The Cloneable Interface

The Cloneable Interface

Comments
5 min read
The Comparable Interface

The Comparable Interface

Comments
4 min read
Interfaces

Interfaces

Comments
3 min read
Case Study: Calendar and GregorianCalendar

Case Study: Calendar and GregorianCalendar

Comments
2 min read
Case Study: the Abstract Number Class

Case Study: the Abstract Number Class

Comments
2 min read
Abstract Classes

Abstract Classes

Comments
5 min read
Abstract Classes

Abstract Classes

Comments
5 min read
Case Study: Web Crawler

Case Study: Web Crawler

1
Comments
3 min read
Reading Data from the Web

Reading Data from the Web

Comments
2 min read
Case Study: Replacing Text

Case Study: Replacing Text

Comments
2 min read
File Input and Output

File Input and Output

Comments
5 min read
The File Class

The File Class

Comments
3 min read
Defining Custom Exception Classes

Defining Custom Exception Classes

Comments
2 min read
Chained Exceptions

Chained Exceptions

Comments
1 min read
Rethrowing Exceptions

Rethrowing Exceptions

Comments
1 min read
When to Use Exceptions

When to Use Exceptions

Comments
2 min read
The finally Clause

The finally Clause

Comments
1 min read
More on Exception Handling

More on Exception Handling

Comments
7 min read
Exception Types

Exception Types

Comments
2 min read
Exception-Handling Overview

Exception-Handling Overview

1
Comments
5 min read
Preventing Extending and Overriding

Preventing Extending and Overriding

1
Comments
1 min read
The protected Data and Methods

The protected Data and Methods

Comments
2 min read
Case Study: A Custom Stack Class

Case Study: A Custom Stack Class

Comments
2 min read
Useful Methods for Lists

Useful Methods for Lists

2
Comments
2 min read
The ArrayList Class

The ArrayList Class

1
Comments
5 min read
The Object’s equals Method

The Object’s equals Method

1
Comments
2 min read
Casting Objects and the instanceof Operator

Casting Objects and the instanceof Operator

Comments
4 min read
Dynamic Binding

Dynamic Binding

Comments
3 min read
Polymorphism

Polymorphism

1
Comments
1 min read
The Object Class and Its toString() Method

The Object Class and Its toString() Method

Comments
2 min read
Overriding vs. Overloading

Overriding vs. Overloading

Comments
2 min read
Overriding Methods

Overriding Methods

1
Comments
2 min read
Using the super Keyword

Using the super Keyword

Comments
3 min read
Inheritance, Superclasses and Subclasses.

Inheritance, Superclasses and Subclasses.

1
Comments
6 min read
Case Study: Ignoring Nonalphanumeric Characters When Checking Palindromes

Case Study: Ignoring Nonalphanumeric Characters When Checking Palindromes

Comments
2 min read
The StringBuilder and StringBuffer Classes

The StringBuilder and StringBuffer Classes

1
Comments
4 min read
The String Class

The String Class

Comments
6 min read
The BigInteger and BigDecimal Classes

The BigInteger and BigDecimal Classes

Comments
2 min read
Automatic Conversion between Primitive Types and Wrapper Class Types

Automatic Conversion between Primitive Types and Wrapper Class Types

Comments
1 min read
Processing Primitive Data Type Values as Objects

Processing Primitive Data Type Values as Objects

Comments
4 min read
Case Study on Object-Oriented Thinking

Case Study on Object-Oriented Thinking

1
Comments
4 min read
Class Relationships

Class Relationships

Comments
4 min read
Thinking in Objects

Thinking in Objects

Comments
3 min read
Class Abstraction and Encapsulation

Class Abstraction and Encapsulation

Comments
5 min read
The this Reference

The this Reference

Comments
2 min read
The Scope of Variables

The Scope of Variables

1
Comments
2 min read
Immutable Objects and Classes

Immutable Objects and Classes

Comments
2 min read
Array of Objects

Array of Objects

1
Comments
2 min read
Passing Objects to Methods

Passing Objects to Methods

1
Comments
2 min read
Data Field Encapsulation

Data Field Encapsulation

Comments
3 min read
Visibility Modifiers

Visibility Modifiers

Comments
2 min read
Static Variables, Constants, and Methods

Static Variables, Constants, and Methods

1
Comments
5 min read
Using Classes from the Java Library

Using Classes from the Java Library

Comments
3 min read
Accessing Objects via Reference Variables

Accessing Objects via Reference Variables

Comments
5 min read
Constructing Objects Using Constructors

Constructing Objects Using Constructors

1
Comments
1 min read
Example: Defining Classes and Creating Objects

Example: Defining Classes and Creating Objects

Comments
4 min read
Defining Classes for Objects

Defining Classes for Objects

Comments
2 min read
loading...