---
title: "#public-and-private articles | Hashnode"
description: "Explore 2 articles tagged #public-and-private on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/public-and-private"
---

Tag

# #public-and-private

2 posts · 0 followers

[Gautam pandit](https://hashnode.com/@gpt6295) · [Oct 10, 2024](https://hashnode.com/posts/private-and-public-key/6707d3fef4df10244004b4cd)

### [Private and Public Key](https://blogbygautam.hashnode.dev/private-and-public-key?utm_source=hashnode&utm_medium=feed)

Private key → The key which is not read by any one, Accept the ownerPrivate key is not for share. Public Key → The key which is read any one and use anyoneThis is for share

1 min read · [blogbygautam.hashnode.dev](https://blogbygautam.hashnode.dev/private-and-public-key?utm_source=hashnode&utm_medium=feed)

[Giver Kdk](https://hashnode.com/@Giver) · [Oct 24, 2023](https://hashnode.com/posts/php-classes-and-objects/6537b3e199e2626c1b012430)

### [PHP: Classes and Objects](https://giver-kdk.hashnode.dev/php-classes-and-objects?utm_source=hashnode&utm_medium=feed)

Classes Creating Classes and Objects in PHP is similar to C++. Let's see an example of a Car class: class Car { public $name; public $price; public function printInfo(){ echo "This is a sports car"; } } Here, '...

2 min read · [giver-kdk.hashnode.dev](https://giver-kdk.hashnode.dev/php-classes-and-objects?utm_source=hashnode&utm_medium=feed)
